package org.dev.vlp.constants;

import lombok.Getter;

/**
 * Description
 * Param
 * return
 * Author:86184
 * Date: 2023/1/3
 */
@Getter
public enum MailEnum {
    /**
     * 发邮件用到的常量
     */
    CODE_GEN_FAIL("验证码生成失败,请稍后再试"),
    MAIL_SEND_FAIL("邮件发送失败"),
    VERIFICATION_CODE_EXPIRED("验证码已失效"),
    VERIFICATION_CODE_SUBJECT("注册验证码"),
    SENT_SUCCESS("邮件发送成功!"),
    SEND_LATER("已发送成功！请稍后再试"),
    SENT_FAIL("邮件发送失败!");
    private final String msg;

    MailEnum(String msg) {
        this.msg = msg;
    }
}
